package org.csu.mypetstore.service;

import org.csu.mypetstore.commonResponse.CommonResponse;
import org.csu.mypetstore.domin.Address;

import java.util.List;

public interface AddressService {
    public CommonResponse<List<Address>> getAddressListByUsername(String username);
    public CommonResponse<Address> addAddress(Address address);
    public CommonResponse<Address> updateAddress(Address address);
    public CommonResponse<String> deleteAddress(int id);
}
